package cn.wolfcode.luowowo.article.query;

import lombok.Getter;

import java.util.HashMap;
import java.util.Map;

/**
 * 目的地筛选的时间筛选
 */
@Getter
public class DestFilterCondition {
    public static final Map<Integer,DestFilterCondition> DAY_MAP = new HashMap<>();

    static {
        DAY_MAP.put(1,new DestFilterCondition(2,3));
        DAY_MAP.put(2,new DestFilterCondition(4,5));
        DAY_MAP.put(3,new DestFilterCondition(6,9));
        DAY_MAP.put(4,new DestFilterCondition(10,Integer.MAX_VALUE));
    }

    private Integer max;
    private Integer min;
    private  DestFilterCondition(Integer min,Integer max){
        this.max = max;
        this.min = min;
    }
}
